package com.uselaw.api.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexCtrl {

    @Value("${application.version}")
    private String version;

    @RequestMapping("/")
    public String index() {
        return "法律拼单。version:" + version;
    }
}
